package com.jiezhuo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiezhuo.entity.cmeduSchool.JwXqStudent;
import com.jiezhuo.entity.jw.StuVo;
import com.jiezhuo.mapper.center.JwXqStudentMapper;
import com.jiezhuo.service.IJwXqStudentService;
import com.jiezhuo.utils.R;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 唐能
 * @since 2024-06-14
 */
@Service
public class JwXqStudentServiceImpl extends ServiceImpl<JwXqStudentMapper, JwXqStudent> implements IJwXqStudentService {
    @Override
    public ArrayList<HashMap<String, Object>> selectXkClassXk(StuVo s) {

        return this.getBaseMapper().selectXkClassXk(s);
    }

    @Override
    public R selectKsStudent(StuVo s) {
        ArrayList<HashMap<String,Object>> list= this.getBaseMapper().selectKsStudent(s);
        int num= this.getBaseMapper().selectKsStudentCount(s);
        return R.ok().data("list",list).data("total",num);
    }

    @Override
    public R selectKsStudentInfo(StuVo s) {
        HashMap<String,Object> map= this.getBaseMapper().selectKsStudentInfo(s);
        return R.ok().data("map",map);
    }

    @Override
    public List<Map<String, Object>> getJssGlCount(Map<String, Object> map) {
        return this.baseMapper.getJssGlCount(map);
    }

    @Override
    public List<Map<String, Object>> getJssGlManCount(Map<String, Object> map) {
        return this.getBaseMapper().getJssGlManCount(map);
    }

    @Override
    public List<Map<String, Object>> getJssGlAllStudent(Map<String, Object> map) {
        return this.getBaseMapper().getJssGlAllStudent(map);
    }

    // 指导记录编辑
    @Override
    public List<Map<String, Object>> getZdJlEdit(String xq, String stuId) {
        return this.getBaseMapper().getZdJlEdit(xq, stuId);
    }

    @Override
    public List<Map<String, Object>> getJssSqSaveLoad(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJssSqSaveLoad(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getJssSqSaveLoadNj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJssSqSaveLoadNj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getJssSqSaveLoadbj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJssSqSaveLoadbj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> jssTH_AddSelectFilterByNj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().jssTH_AddSelectFilterByNj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> jssTH_AddSelectFilterByBj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().jssTH_AddSelectFilterByBj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> jssTH_AddSelectData(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().jssTH_AddSelectData(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getStuAndJiaQkFilterByNj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getStuAndJiaQkFilterByNj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getStuAndJiaQkFilterByBj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getStuAndJiaQkFilterByBj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getStuAndJiaTingQk(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getStuAndJiaTingQk(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> updateStuAndJiaTingQkLoad(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().updateStuAndJiaTingQkLoad(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getJiaoYuZhidaoJilvFilterStu(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJiaoYuZhidaoJilvFilterStu(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getJiaoYuZhidaoJilv(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJiaoYuZhidaoJilv(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getJiaoYuZhidaoJilvFilterXqdmNj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJiaoYuZhidaoJilvFilterXqdmNj(jwXqStudent);
    }

    @Override
    public List<Map<String, Object>> getJiaoYuZhidaoJilvFilterXqdmBj(JwXqStudent jwXqStudent) {
        return this.getBaseMapper().getJiaoYuZhidaoJilvFilterXqdmBj(jwXqStudent);
    }


}
